#ifndef LOGMANAGER_H
#define LOGMANAGER_H
#include <QString>
#include "logger.h"
#include <QMap>

class LogManager
{
public:
    LogManager();
    //获取一个mission的log,只关注这个功能的信息.
    static Logger * getMissionLogger(QString mission = "");
    static QMap<QString,Logger *> missionLogMap;
    //[time] [level] [module] [task] [tasksate] [content]
    static void debug(QString module = "module",QString task = "task",QString taskState = "prepare",QString content = "") ;
};

#endif // LOGMANAGER_H
